package study.poker;

import java.util.ArrayList;
import java.util.List;

public class PokerMax {

    public void pokerMax(List<String> list){
        list.add("红桃J");
        list.add("梅花10");
        String[] strings = new String[list.size()];
        String[] m=list.toArray(strings);
        System.out.println("第一个数字是："+m[0]+"；第二个数字是："+m[1]);
        for (int i=0;i<m.length;i++){
            //m[i].slice();
        }
    }
    public static void main(String[] args){
        PokerMax poke=new PokerMax();
        List<String> list = new ArrayList<String>();
        poke.pokerMax(list);
    }
}
